package com.guoguo.service;

import com.guoguo.base.PageBean;
import com.guoguo.entity.Attention;
import com.guoguo.entity.vo.AttentionVO;

import java.util.List;

/**
 * Created by KLSD on 2017/9/12.
 */
public interface AttentionService {

    List<AttentionVO> getAttention(int attType);


    /**
     * 根据
     *
     * @param userId modelId
     * @return
     */
    int deleteAttention(String userId, String modelId);

    /**
     * 新增关注记录
     *
     * @param attention
     * @return
     */
    int saveAttention(Attention attention);

    /**
     * 根据条件查询关注对象
     *
     * @param attention
     * @return
     */
    Attention findAttentionByIds(Attention attention);
}
